/* 
 * 路由表对象：
 * 该文件挂载在Vue原型中 $mRoutesConfig
 * 作用：调用$mRouter对象的方法 传入以下对应的路由对象，详细见common目录下的router.js
 * 示例：this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
 * 注意：所有在pages目录下新建的页面都必须在"路由表"中进行声明，并且在框架的pages.json注册。
 * 
 * 配置参数项说明： 
 * name:可选配置 （路由名称）
 * path:必填配置 （路由地址）
 * requiresAuth:可选配置 （是否权限路由）
 */

export default {
	// 权限路由
	project: {
		name: "项目中心",
		path: "/pages/main/project",
		requiresAuth: true,
	},
	projectDetail: {
		name: "项目详情",
		path: "/pages/main/projectDetail",
		requiresAuth: true
	},
	order: {
		name: "项目支持",
		path: "/pages/trade/order",
		requiresAuth: true
	},
	recharge: {
		name: "充值",
		path: "/pages/trade/recharge",
		requiresAuth: true
	},
	balance: {
		name: "账户资产",
		path: "/pages/trade/balance",
		requiresAuth: true
	},
	balanceDetail: {
		name: "明细",
		path: "/pages/trade/balanceDetail",
		requiresAuth: true
	},
	withdraw: {
		name: "提现",
		path: "/pages/trade/withdraw",
		requiresAuth: true
	},
	person: {
		name: "个人中心",
		path: "/pages/main/person",
		requiresAuth: true
	},
	friends: {
		name: "我的好友",
		path: "/pages/user/friends",
		requiresAuth: true
	},
	myProject: {
		name: "我的项目",
		path: "/pages/user/myProject",
		requiresAuth: true
	},
	contract: {
		name: "合同管理",
		path: "/pages/user/contract",
		requiresAuth: true
	},
	contractWeb: {
		name: "合同签署",
		path: "/pages/user/contractWeb",
		requiresAuth: true
	},
	message: {
		name: "消息通知",
		path: "/pages/user/message",
		requiresAuth: true
	},
	bankCard: {
		name: "我的银行卡",
		path: "/pages/user/bankCard",
		requiresAuth: true
	},
	addBankCard: {
		name: "添加银行卡",
		path: "/pages/user/addBankCard",
		requiresAuth: true
	},
	userInfo: {
		name: "基本信息",
		path: "/pages/user/userInfo",
		requiresAuth: true
	},
	qrCode:{
		name:"我的二维码",
		path:"/pages/user/qrCode",
		requiresAuth:true
	},
	questionnaire: {
		name: "风险承受能力评估",
		path: "/pages/user/questionnaire",
		requiresAuth: true
	},
	safetyCenter: {
		name: "安全中心",
		path: "/pages/safe/safetyCenter",
		requiresAuth: true
	},
	certifiedPhone: {
		name: "认证手机",
		path: "/pages/safe/certifiedPhone",
		requiresAuth: true
	},
	modifiedCertifiedPhone: {
		name: "修改认证手机",
		path: "/pages/safe/modifiedCertifiedPhone",
		requiresAuth: true
	},
	modifiedLoginPhone: {
		name: "修改登录手机",
		path: "/pages/safe/modifiedLoginPhone",
		requiresAuth: true
	},
	changeLoginPhone: {
		name: "修改登录手机",
		path: "/pages/safe/changeLoginPhone",
		requiresAuth: true
	},
	modifiedPayPsw: {
		name: "修改支付密码",
		path: "/pages/safe/modifiedPayPsw",
		requiresAuth: true
	},
	modifiedLoginPsw: {
		name: "修改登录密码",
		path: "/pages/safe/modifiedLoginPsw",
		requiresAuth: true
	},
	// 非权限路由
	main: {
		name: "首页",
		path: "/pages/main/main"
	},
	info: {
		name: "资讯中心",
		path: "/pages/main/info"
	},
	infoDetail: {
		name: "资讯详情",
		path: "/pages/main/infoDetail"
	},
	login: {
		name: "登录",
		path: "/pages/login/login"
	},
	reg: {
		name: "注册",
		path: "/pages/login/reg"
	},
	regNo:{
		name:"注册",
		path:"/pages/login/regNo"
	},
	forget: {
		name: "忘记密码",
		path: "/pages/login/forget"
	},
	authentication: {
		name: "项目中心",
		path: "/pages/safe/authentication"
	},
	agreement: {
		name: "协议",
		path: "/pages/trade/agreement"
	},
}
